#include <gtk/gtk.h>
#include <jni.h>

/* Command data types */
#define DATA_NULL		-1
#define DATA_STRING  		0
#define DATA_STRING_ARRAY	1
#define DATA_INT 		2
#define DATA_INT_ARRAY		3
#define DATA_DOUBLE		4
#define DATA_DOUBLE_ARRAY	5
#define DATA_BOOLEAN		6

/*
* Initializes command data structures.
*/
void init_comm 			();

/*
* Executes command requested from from java app.
*/
void do_gtkwire_command 	(	const gchar* widget_name,
					const gchar* command,
					gint data_type,
					gpointer data,
					gpointer data2);

